<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title th:text="#{nuoda.system.name}+'-无权访问'">访问系统-无权访问</title>

<style type="text/css">
		.body {
			font-family: "Microsoft YaHei", "微软雅黑";
			color: #666666;
			background: #ffffff;
			font-size: 14px;
			width: 100%;
		}
		
		a {
			text-decoration: none;
			color: #333333;
		}
		
		.jumpbox {
			padding: 10px;
			height: 520px;
		}
		
		.hintbox_writbox {
			background: #f9f9f9;
			border: 1px solid #dfdfdf;
			border-radius: 1px;
			-webkit-border-radius: 5px;
			-moz-border-radius: 5px;
			padding-top: 30px;
			position: relative;
			width: 900px;
			height: 330px;
			margin: 0 auto;
			margin-top: 10%;
		}
		
		.errorbox {
			width: 800px;
			height: 200px;
			margin: 0 auto;
			margin-top: 150px;
		}
		
		.hintboxwrite {
			font-family: "微软雅黑";
			color: #333;
			font-size: 18px;
			text-align: center;
			padding-top: 60px;
		}
		
		.Errorb {
			text-align: center;
			padding: 80px;
		}
		
		a.chaxunBt {
			display: inline-block;
			width: 110px;
			height: 30px;
			border-radius: 3px;
			overflow: hidden;
			line-height: 30px;
			text-align: center;
			margin-left: 10px;
			color: #ffffff;
			background: #208ad6;
		}
		
		.chaxunBt {
			border: #208ad6 1px solid;
		}
		
		.white {
			color: #FFFFFF;
		}
</style>
</head>
<body>
	<div class="jumpbox">
		<div class="hintbox_writbox">
			<p class="hintboxwrite">无权限访问该页面 </p>
			<p class="hintboxwrite" th:text="${errorMsg}">未开通对应权限 </p>

			<div class="Errorb">
				<a id="closeButton" href="javascript:window.opener=null;window.open('','_self');window.close();" class="chaxunBt white">关闭</a>
				<a th:href="@{/}" class="chaxunBt white">返回首页</a>
			</div>
		</div>

	</div>
</body>
<script type="text/javascript">
	// var explorer =navigator.userAgent ;
	// if (isIE()) {
	// 	var time = 10;
	// 	var timer = setInterval('tiaozhuan()', 1000);
	// 	function tiaozhuan() {
	// 		var t = document.getElementById("id8");
	// 		if(time > 0) {
	// 			t.innerHTML = time;
	// 			time--;
	// 		} else {
	// 			clearInterval(timer);
	// 			javascript:window.opener=null;window.open('','_self');window.close();
	// 			//window.location = "./SSO/GLO/Redirect";
	// 		}
	// 	}
    // }else{
    // 	document.getElementById("autoClose").style.display="none";
    // 	document.getElementById("closeButton").style.display="none";
    // }
	// function isIE() { //ie?
	// 	 if (!!window.ActiveXObject || "ActiveXObject" in window)
	// 	  return true;
	// 	  else
	// 	  return false;
	// }
</script>
</html>